package cn.wanda.bi.sunshine.platform.server.client.response.elasticsearch;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Created by James on 17/7/13.
 */
@Data
public class UserLabelHits implements Serializable {

	private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "能够匹配我们查询标准的文档的总数目")
    @JsonProperty("total")
    private Integer total;

    @JsonProperty("max_score")
    private String max_score;

    @ApiModelProperty(value = "真正的搜索结果数据（默认只显示前10个文档）")
    @JsonProperty("hits")
    private List<UserLabelHitsDetail> hits;

}
